package com.sinosoft.app.notice.dao;

import java.util.List;

import com.sinosoft.app.notice.entity.RuleNotice;
   
   /**
    * @ClassName RuleNoticeDao dao接口类
    * @date 2017-2-13 
    * @author shangxp
    */  


public interface RuleNoticeDao {
	public int insertRuleNotice(RuleNotice ruleNotice);
	public int updateRuleNotice(RuleNotice ruleNotice);
	public int deleteRuleNotice(int id);
	public RuleNotice selectRuleNotice(int id);
	public RuleNotice selectRuleNotice(List<String> queryKeys,List<Object> queryValues);
	public int selectCountRuleNotice();
	public int selectCountRuleNotice(List<String> queryKeys,List<Object> queryValues);
	public List<RuleNotice> selectLimitRuleNotice(int start,int size);
	public List<RuleNotice> selectLimitRuleNotice(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<RuleNotice> selectAllRuleNotice();
	public List<RuleNotice> selectAllRuleNotice(List<String> queryKeys,List<Object> queryValues);
}